// 布局
import {Row, Col} from 'antd'

export default function Layout({children, sidebar}) {
  return (<Row>
    <Col flex="1 1 200px">
      {children}
    </Col>
    <Col flex="0 1 300px">
      {sidebar}
    </Col>
  </Row>)
}